><

Locking layers



You can lock layers and layer sets to make certain properties of a layer unchangeable. When a layer is locked, a lock displays to the right of the layer name. The lock is solid when the layer is fully locked so that no editing is possible; it is hollow when partially locked. For example, a layer is partially locked when you lock the layer position so its contents cannot be moved using the move tool. Locked layers can be moved to a different location within the stacking order of the Layers palette, but they cannot be deleted. When a layer is fully locked, you cannot edit the pixels, move the image, or change the opacity, blending mode, or layer style applied to that layer.

You can lock transparency to confine your painting and editing to those areas of a layer already containing pixels. For example, you may want to edit an object (adding special effects, changing color) without adding pixels to the transparent area outside the object. You can also lock the image to prevent inadvertent pixel changes or movement of the image and yet still allow the blending mode, opacity, or layer style to be edited. For example, you can edit the layer mask of a layer with locked pixel data. This is very useful when doing montages.

To lock all properties including blending mode, opacity, and layer style, for layers or layer sets:

Select the layer or layer set, and select Lock () in the Layers palette to automatically lock all properties for layers or layer sets.

When Lock is selected, the dimmed lock icon () displays next to all of the layers in a layer set except for layers that have their own individual lock options set.

You can also use the commands in the Layer menu and Layers palette menu to lock all properties.

To partially lock a layer or layer set:

Select a layer and in the Layers palette, select one or more desired lock options:

  • Transparency () to prevent editing of transparent pixels. This option is equivalent to Preserve Transparency in earlier versions of Photoshop.
  • Image () to prevent the painting tools from modifying the image, but not any mask that might be applied to the layer. This option also prevents moving the image.
  • Position () to disable the move tool.

  • You can also use the commands in the Layer menu and Layers palette menu to set Lock options.

    To lock all properties for linked layers including blending modes, opacity, and layer style:

    Select a linked layer, and select Lock () in the Layers palette to automatically lock all properties.

    You can also use the commands in the Layer menu and Layers palette menu to lock linked layers.

    To partially lock linked layers:

    1 Select a linked layer, and do one of the following to lock selected properties:

    2 Choose Layers > Lock All Linked Layers, or choose Lock All Linked Layers from the Layers palette menu, and in the Lock All Link Layers dialog box, set the following Lock options:

  • Transparency () to prevent editing of transparent pixels.
  • Image () to prevent the painting tools from modifying the image, but not any mask that might be applied to the layer. This option also prevents moving the image.
  • Position () to disable the move tool.

  • To confine editing to the opaque portions of a layer:

    Select the layer, a linked layer, or layer set in the Layers palette and select Lock Transparency () in the Layers palette.

    You can also use the commands in the Layer menu and Layers palette menu to lock transparency.

    Note: For type layers, Lock Transparency and Lock Image is selected by default and cannot be turned off.


    Using Layers > Editing layers > Locking layers